package com.prs.crm.flow;

import com.prs.crm.domain.SimpleFlowEntity;

/**
 * 单一审核流程监听
 * @author prs.chenzhi
 * @see com.prs.crm.domain.SimpleFlowEntity
 * @param <K>
 */
public interface SimpleFlowListener<K extends SimpleFlowEntity> {

	/**
	 * 提交前验证提交内容是否达到提交标准
	 * @param entity
	 */
	void validateSubmit(K entity);
	
	void onFlowEnd(K entity);
	
	
}
